import request from "@/utils/request";

export function getkeyikeList(params) {
  return request({
    url: "/keyike",
    method: "get",
    params
  });
}

export function getkeyikeDetail(id) {
  return request({
    url: `/keyike/detail/${id}`,
    method: "get"
  });
}

// 订单推送 第三方
export function getkeyikeOrder(params) {
  return request({
    url: "/keyike/inputOrder",
    method: "post",
    data: params
  });
}

//修改订单明细
export function updatekeyikeOrder(params) {
  return request({
    url: "/keyike/update",
    method: "post",
    data: params
  });
}

//绑定客户经理
export function bindkeyike(params) {
  return request({
    url: "/keyike/updateAccountManager",
    method: "post",
    data: params
  });
}
